#ifndef UNIT_H_
#define UNIT_H_
#include <string>
using namespace std;

class Unit
{
	public:
	Unit(unsigned int amountByBaseUnit, char* unitName);
	unsigned int toAmountOfBaseUnit(const unsigned int amount) const;
	void printAmountPerUnit(std::ostream& out,unsigned int& amount) const;

	private:
	unsigned int m_amount;
	char* m_unitName;
};

#endif
